<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 模态框（Modal）插件</title>
    <link href="dependency/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="dependency/jquery/jquery.min.js"></script>
    <script src="dependency/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>

<h2>创建模态框（Modal）</h2>
<!-- 按钮触发模态框 -->
<button>
    开始演示模态框
</button>

<script>
    $(document).ready(function () {

        var jsonStr = [{"name":"jdf","age":"23"},{"name":"fdg","age":"23"}];
        console.log(jsonStr[0])
        delete jsonStr[0]["name"];
        delete jsonStr[0]["age"];
        delete jsonStr[0]
        console.log(jsonStr.length)
        for(var i=0;i<jsonStr.length;i++){
            console.log(jsonStr[i])
        }

    })
</script>
</body>
</html>